package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.lulian.dto.CardBusinessQuotesDto;
import com.aiti.lulian.dto.CardQuoteListDto;
import com.aiti.lulian.dto.CardBusinessQuotesDto;
import com.aiti.lulian.entity.CardAccessRecord;
import com.aiti.lulian.entity.crad.CardBusinessQuotes;
import com.aiti.lulian.vo.CardQuoteVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.aiti.lulian.vo.CardBusinessQuotesVo;

public interface ICardBusinessQuotesService extends BaseService<CardBusinessQuotes> {

    List<CardQuoteListDto> queryQuotePage(Page<CardBusinessQuotes> page, CardQuoteVo quote);

    CardBusinessQuotesDto quoteDetail(String id);

    /**
     * 保存名片报价单
     * @param dto
     * @return
     */
    void saveCardBusinessQuotes(CardBusinessQuotesDto dto,String userId);

    /**
     * 通过Id查询报价单
     * @param quotesId
     * @return
     */
    CardBusinessQuotesVo queryQuotesProductById(String quotesId);

    /**
     * 更新报价单
     * @param dto
     */
    void updateQuotesById(CardBusinessQuotesDto dto,String userId);

    /**
     * 删除报价单
     * @param dto
     * @return
     */
    void deleteQuotesById(CardBusinessQuotesDto dto);

}
